package jpf.nextsearch.ds.manager;

import java.util.Collection;

import jpf.nextsearch.ds.model.ResourceVO;
import jpf.nextsearch.ds.model.types.ResourceActiveTable;
import jpf.nextsearch.exception.DataAccessException;


public interface ResourceManager {
	
	public static final String CURRENT_RESOURCE_ACTIVE_TABLE_CONFIG_ENTRY = "resourceActiveTable";
	
	public ResourceActiveTable getCurrentResourceActiveTable() throws DataAccessException;
	
	public ResourceActiveTable getNewResourceActiveTable() throws DataAccessException;
	
	public void switchCurrentResourceActiveTable() throws DataAccessException;
	
	public void addResources(Collection<ResourceVO> items) throws DataAccessException;
	
}
